<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
  - http://heavyz.blogspot.com/
  - http://buggarden.blogspot.com/

  The base template for the Foods N' Roses webapp.
  
  Created on 2008-05-15.
  $Id: base.html 284 2008-11-20 14:07:33Z heavyzheng $
-->
{% endcomment %}

{% load i18n %}

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

  <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta content="ZHENG Zhong" name="author"/>
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico"/>
    <link rel="stylesheet" type="text/css" media="screen" href="/static/fnr/stylesheets/common.css"/>
    {% comment %}
    <!--[if IE]>
      <link rel="stylesheet" type="text/css" media="screen" href="/static/fnr/stylesheets/all_ie.css"/>
    <![endif]-->
    {% endcomment %}
    
    {% include "fnr/google_ajax_apis.html" %}
    {% include "fnr/jquery.html" %}
    {% include "fnr/google_analytics.html" %}
    {% include "fnr/google_webmasters_tools.html" %}
    {% block html_head %}{% endblock %}
  
  </head>
  
  <body>
    
    <div id="outer-wrapper">
    
      <div id="topbar-wrapper">
        {% if user %}
          <b>{% trans "Welcome" %}, {{ user.nickname }}!</b> |
          <a href="{{ log_url }}">{% trans "Logout" %}</a> |
        {% else %}
          <b>{% trans "Welcome" %}!</b> |
          <a href="{{ log_url }}">{% trans "Login" %}</a> |
        {% endif %}
        <a href="/fnr/">{% trans "Home" %}</a> |
        <a href="/fnr/static/about/">{% trans "About" %} FnR</a> |
        <a href="/fnr/static/help/">{% trans "Help" %}</a> |
        <a href="/fnr/static/contact/">{% trans "Contact Us" %}</a> |
        <!-- Change language -->
        {% for lang in languages %}
          {% if lang.is_current %}
            <img src="/static/fnr/images/lang_{{ lang.code }}.gif" alt="{{ lang.code }}"/>
          {% else %}
            <a href="{{ lang.url }}">
              <img src="/static/fnr/images/lang_{{ lang.code }}.gif" alt="{{ lang.code }}"/>
            </a>
          {% endif %}
        {% endfor %}
      </div><!--/#topbar-wrapper-->
      
      <div id="header-wrapper">
        {% block header %}FIXME: header block{% endblock %}
      </div><!--/#header-wrapper-->
      
      <div id="navbar-wrapper">
        {% block navbar %}{% endblock %}
      </div><!--/#navbar-wrapper-->
      
      <div id="sidebar-and-content-wrapper" class="container">
      
        {% block sidebar_and_content %}
        
          <div id="sidebar-wrapper">
            {% block sidebar %}
              {% include "fnr/sidebar.html" %}
            {% endblock %}
          </div><!--/#sidebar-wrapper-->
          
          <div id="content-wrapper">
            {% block content %}FIXME: content block{% endblock %}
          </div><!--/#content-wrapper-->
        
        {% endblock %}{# sidebar_and_content #}
      
      </div><!--/#sidebar-and-content-wrapper-->
      
      <div id="footer-wrapper">
        &copy;2008 Foods N' Roses,
        by <a href="http://heavyz.blogspot.com/">ZHENG Zhong</a>,
        All Rights Reserved.
        <br/>
        <!-- Version number, SVN revision, and revised date. -->
        Version 0.1.9, $Revision: 284 $, $Date: 2008-11-20 14:07:33 +0000 (Thu, 20 Nov 2008) $
        <br/>
        | <a href="/fnr/static/about/">About</a>
        | <a href="/fnr/static/help/">Help</a>
        | <a href="/fnr/static/contact/">Contact</a>
        | <a href="http://buggarden.zhengzhong.info/" rel="external">Made in Bug Garden</a>
        | <a href="http://validator.w3.org/check?uri=referer" rel="external">Valid XHTML 1.0!</a>
        | <a href="http://jigsaw.w3.org/css-validator/check/referer" rel="external">Valid CSS!</a>
        |
      </div><!--/#footer-wrapper-->
      
    </div><!--/#outer-wrapper-->
    
  </body>

</html>



